package com.bjtu.transactionclient;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

import springfox.documentation.swagger2.annotations.EnableSwagger2;

@EnableSwagger2
@EnableDiscoveryClient
@MapperScan("com.bjtu.transactionclient.dao")
@SpringBootApplication
public class TransactionclientApplication {

    public static void main(String[] args) {
        SpringApplication.run(TransactionclientApplication.class, args);
//        try {
//            Consumer consumer =new Consumer();
//        } catch (MQClientException e) {
//            e.printStackTrace();
//        }
    }
}